package com.zscat.mallplus.finance.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author loop.fu
 * @since 2020-03-10
 */
@TableName("finance_check")
public class FinanceCheck implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 结算id
     */
    @TableField("settlement_id")
    private Long settlementId;

    @TableField("total_order_amount")
    private BigDecimal totalOrderAmount;

    @TableField("total_pay_amount")
    private BigDecimal totalPayAmount;

    @TableField("total_discount_amount")
    private BigDecimal totalDiscountAmount;

    @TableField("total_refund_amount")
    private BigDecimal totalRefundAmount;

    @TableField("total_settle_amount")
    private BigDecimal totalSettleAmount;

    @TableField("create_time")
    private LocalDateTime createTime;

    @TableField("store_id")
    private Integer storeId;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getSettlementId() {
        return settlementId;
    }

    public void setSettlementId(Long settlementId) {
        this.settlementId = settlementId;
    }

    public BigDecimal getTotalOrderAmount() {
        return totalOrderAmount;
    }

    public void setTotalOrderAmount(BigDecimal totalOrderAmount) {
        this.totalOrderAmount = totalOrderAmount;
    }

    public BigDecimal getTotalPayAmount() {
        return totalPayAmount;
    }

    public void setTotalPayAmount(BigDecimal totalPayAmount) {
        this.totalPayAmount = totalPayAmount;
    }

    public BigDecimal getTotalDiscountAmount() {
        return totalDiscountAmount;
    }

    public void setTotalDiscountAmount(BigDecimal totalDiscountAmount) {
        this.totalDiscountAmount = totalDiscountAmount;
    }

    public BigDecimal getTotalRefundAmount() {
        return totalRefundAmount;
    }

    public void setTotalRefundAmount(BigDecimal totalRefundAmount) {
        this.totalRefundAmount = totalRefundAmount;
    }

    public BigDecimal getTotalSettleAmount() {
        return totalSettleAmount;
    }

    public void setTotalSettleAmount(BigDecimal totalSettleAmount) {
        this.totalSettleAmount = totalSettleAmount;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public Integer getStoreId() {
        return storeId;
    }

    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    @Override
    public String toString() {
        return "FinanceCheck{" +
        ", id=" + id +
        ", settlementId=" + settlementId +
        ", totalOrderAmount=" + totalOrderAmount +
        ", totalPayAmount=" + totalPayAmount +
        ", totalDiscountAmount=" + totalDiscountAmount +
        ", totalRefundAmount=" + totalRefundAmount +
        ", totalSettleAmount=" + totalSettleAmount +
        ", createTime=" + createTime +
        ", storeId=" + storeId +
        "}";
    }
}
